package org.jeecg.modules.exp.service.impl;

import org.jeecg.modules.exp.entity.ExpAccount;
import org.jeecg.modules.exp.entity.ExpUsageApplying;
import org.jeecg.modules.exp.entity.ExpUsageMiddle;
import org.jeecg.modules.exp.mapper.ExpUsageApplyingMapper;
import org.jeecg.modules.exp.service.IExpUsageApplyingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 专家管理（专家使用申请表）
 * @Author: jeecg-boot
 * @Date:   2022-11-28
 * @Version: V1.0
 */
@Service
public class ExpUsageApplyingServiceImpl extends ServiceImpl<ExpUsageApplyingMapper, ExpUsageApplying> implements IExpUsageApplyingService {

    @Autowired
    private ExpUsageApplyingMapper expUsageApplyingMapper;
    @Override
    public List<ExpAccount> queryAllExpert() {
        return expUsageApplyingMapper.queryAllExpert();
    }

    @Override
    public List<ExpUsageMiddle> queryExpertByUsageID(String usageID) {
        return expUsageApplyingMapper.queryExpertByUsageID(usageID);
    }

    @Override
    public List<ExpUsageMiddle> queryExpertByExpertID(String expertID) {
        return expUsageApplyingMapper.queryExpertByExpertID(expertID);
    }
}
